package com.ruoyi.common.core.domain.entity;

import com.ruoyi.common.core.domain.BaseEntity;

import java.sql.Timestamp;

/**
 * @Auther: Stanley.Y
 * @Date: 2024/6/18
 * @Description: 干扰源数据表实体类
 * @Version 1.0.0
 */
public class TInterference extends BaseEntity {
    private int id; // 主键ID

    private String name; // 名称

    private String code; // 编码

    private double lon; // 经度

    private double lat; // 纬度

    private int type; // 干扰源类型

    private int power; // 干扰源功率，单位：dBw

    private String used; // 是否正常显示

    private Timestamp createTime; // 创建时间

    private Timestamp updateTime; // 修改时间

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public double getLon() {
        return lon;
    }

    public void setLon(double lon) {
        this.lon = lon;
    }

    public double getLat() {
        return lat;
    }

    public void setLat(double lat) {
        this.lat = lat;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getPower() {
        return power;
    }

    public void setPower(int power) {
        this.power = power;
    }

    public String getUsed() {
        return used;
    }

    public void setUsed(String used) {
        this.used = used;
    }

    @Override
    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    @Override
    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "TInterference =：{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", code='" + code + '\'' +
                ", lon='" + lon + '\'' +
                ", lat=" + lat + '\'' +
                ", type='" + type + '\'' +
                ", power=" + power + '\'' +
                ", used=" + used + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}
